<script setup>
import { useRoute } from 'vue-router'
import { ref } from 'vue'

let id = ref(0);
let language = ref('');
const route = useRoute();

id.value = route.query.id;
language.value = route.query.language
</script>

<template>
  <div>
    <h4>id为{{ id }}的{{ language }}语言是最好的编程语言</h4>
  </div>
  
</template>

<style scoped>

</style>